package cn.itcast.dao;


import cn.itcast.pojo.PieChart;
import cn.itcast.pojo.Statistics;

import java.util.List;
import java.util.Map;


public interface MemberStatisticsDao {

    /**
     * 折线图功能  查询日期和次数
     * @return
     */
    List<Statistics> selectDateorCount();

    List<Map<String, Object>> selectSetMealorCount();

    //按月查找会员
    Integer findMemberByMonths ( String date );
    //按日查找会员
    Integer findMemberByDate(String date);

    Integer findMemberCountWeekAfterDate(String thisWeekMonday);

    Integer findMemberTotal();


    //本日预约数
    Integer findOrderCountByDate(String today);
    //今日到诊数
    Integer findVisitsCountByDate(String today);
    //本周预约数
    Integer findOrderCountWeekAfterDate(String thisWeekMonday);
    //本周到诊数
    Integer findVisitsCountWeekAfterDate(String thisWeekMonday);
    //本月预约数
    Integer findOrderCountMonthAfterDate(String firstDay4ThisMonth);
    //本月到诊数
    Integer findVisitsCountMonthAfterDate(String firstDay4ThisMonth);
    //套餐名
    List<Map> findhotSetmeal();


}
